package view.mt4j.component.ghost;

import model.util.Dimension;
import model.util.Point;

import org.mt4j.components.visibleComponents.shapes.MTRectangle;
import org.mt4j.util.MTColor;

import processing.core.PApplet;

public class MTRectangleGhost extends MTRectangle {

	public MTRectangleGhost(PApplet pApplet, Point position, Dimension size,
			MTColor color) {
		super(pApplet, position.x, position.y, size.width, size.height);
		setFillColor(new MTColor(color.getR(), color.getG(), color.getB(),
				MTColor.ALPHA_HALF_TRANSPARENCY));
		removeAllGestureEventListeners();
		unregisterAllInputProcessors();
	}
}
